package com.ms.p2p.entity.account;



import java.io.Serializable;
import java.math.BigDecimal;

public class Account   implements Serializable {

    private Integer id;
    private Integer user_id;
    private BigDecimal total;
    private BigDecimal balance;
    private BigDecimal freezing_amont;
    private BigDecimal collection;
    private String realName;
    private String username;
    private Integer type;

    public BigDecimal getFreezing_amont() {
        return freezing_amont;
    }

    public void setFreezing_amont(BigDecimal freezing_amont) {
        this.freezing_amont = freezing_amont;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer userId) {
        user_id = userId;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }


    public BigDecimal getCollection() {
        return collection;
    }

    public void setCollection(BigDecimal collection) {
        this.collection = collection;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String toString() {
        return "id + user_id + total + balance + freezing_amont + collection";
    }
}
